package composite_reuse

type Product struct {
	ID int
	Name string
	Price float64
}

func NewProduct(id int, name string, price float64) *Product {
	return &Product{
		id, name, price,
	}
}